#!/bin/bash
docker run \
-v /Users/songyunlong/Desktop/greatExpectations:/home \
-w /home greatexpectations/test:3.9_develop_1680070099_8236 \
python /home/gx_main.py \
-cfp /home/config.yaml;

docker stop $(docker ps -a | grep "Exited" | awk '{print $1 }');  #停止容器
docker rm $(docker ps -a | grep "Exited" | awk '{print $1 }');     #删除容器